import request from '@/utils/request'

// 获取教师的个人信息
export function getTeacherInfo(data) {
  return request({
    url: '/teacher/get/introduce',
    method: 'get',
    data
  })
}

// 修改教师的个人信息
export function updateTeacherInfo(data) {
  return request({
    url: '/teacher/update/introduce',
    method: 'put',
    data
  })  
}

//修改老师的头像
export function updateTeacherAvatar(data) {
  return request({
    url: '/teacher/update/show',
    method: 'put',
    data
  })  
}